.Net Framework > v2.0.50727 > System > Convert > ToSingle ToSingle(Boolean)
ToSingle(Byte)
ToSingle(Char)
ToSingle(DateTime)
ToSingle(Decimal)
ToSingle(Double)
ToSingle(Int16)
ToSingle(Int32)
ToSingle(Int64)
ToSingle(Object)
ToSingle(Object,IFormatProvider)
ToSingle(SByte)
ToSingle(Single)
ToSingle(String)
ToSingle(String,IFormatProvider)
ToSingle(UInt16)
ToSingle(UInt32)
ToSingle(UInt64)


ToSingle(Boolean)

Category
Method
Description
Converts the value of the specified Boolean value to the equivalent single-precision floating point number.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(Byte)

Category
Method
Description
Converts the value of the specified 8-bit unsigned integer to the equivalent single-precision floating point number.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueByte
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(Char)

Category
Method
Description
Calling this method always throws System.InvalidCastException.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueChar
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(DateTime)

Category
Method
Description
Calling this method always throws System.InvalidCastException.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueDateTime
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(Decimal)

Category
Method
Description
Converts the value of the specified System.Decimal number to an equivalent single-precision floating point number.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueDecimal
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(Double)

Category
Method
Description
Converts the value of the specified double-precision floating point number to an equivalent single-precision floating point number.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueDouble
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(Int16)

Category
Method
Description
Converts the value of the specified 16-bit signed integer to an equivalent single-precision floating point number.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueInt16
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(Int32)

Category
Method
Description
Converts the value of the specified 32-bit signed integer to an equivalent single-precision floating point number.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(Int64)

Category
Method
Description
Converts the value of the specified 64-bit signed integer to an equivalent single-precision floating point number.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueInt64
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(Object)

Category
Method
Description
Converts the value of the specified System.Object to a single-precision floating point number.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueObject
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(Object,IFormatProvider)

Category
Method
Description
Converts the value of the specified System.Object to an single-precision floating point number using the specified culture-specific formatting information.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueObject
providerIFormatProvider
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(SByte)

Category
Method
Description
Converts the value of the specified 8-bit signed integer to the equivalent single-precision floating point number.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueSByte
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(Single)

Category
Method
Description
Returns the specified single-precision floating point number; no actual conversion is performed.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueSingle
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(String)

Category
Method
Description
Converts the specified System.String representation of a number to an equivalent single-precision floating point number.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueString
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(String,IFormatProvider)

Category
Method
Description
Converts the specified System.String representation of a number to an equivalent single-precision floating point number using the specified culture-specific formatting information.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueString
providerIFormatProvider
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(UInt16)

Category
Method
Description
Converts the value of the specified 16-bit unsigned integer to the equivalent single-precision floating point number.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueUInt16
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(UInt32)

Category
Method
Description
Converts the value of the specified 32-bit unsigned integer to an equivalent single-precision floating point number.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueUInt32
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

ToSingle(UInt64)

Category
Method
Description
Converts the value of the specified 64-bit unsigned integer to an equivalent single-precision floating point number.
Type
Single
Character
public, static
Parameters
NameTypeDescription
valueUInt64
Attributes
NameValue/Assignment
CLSCompliantAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database